﻿using System;

namespace Telerik.Sitefinity.Social.Contracts
{
    /// <summary>
    /// Mandates the members that every class wishing to act as Message must implement.
    /// </summary>
    [Telerik.OpenAccess.Persistent]
    public interface IMessage
    {
        /// <summary>
        /// Gets or sets the id.
        /// </summary>
        /// <value>The id.</value>
        Guid Id { get; set; }

        /// <summary>
        /// Gets or sets the title.
        /// </summary>
        /// <value>The title.</value>
        string Title { get; set; }

        /// <summary>
        /// Gets or sets the content.
        /// </summary>
        /// <value>The content.</value>
        string Content { get; set; }

        /// <summary>
        /// Gets or sets the sender username.
        /// </summary>
        /// <value>The sender username.</value>
        string SenderUsername { get; set; }

        /// <summary>
        /// Gets or sets the recipient username.
        /// </summary>
        /// <value>The recipient username.</value>
        string RecipientUsername { get; set; }

        /// <summary>
        /// Gets or sets the date sent.
        /// </summary>
        /// <value>The date sent.</value>
        DateTime DateSent { get; set; }
    }
}
